const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  // 用户头像
  staffPhoto: state => state.user.userInfo.staffPhoto,
  // 用户名
  name: state => state.user.userInfo.username,
  // 公司ID
  companyId: state => state.user.userInfo.companyId,
  // 用户ID
  userId: state => state.user.userInfo.userId

}
export default getters
